<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 展开运算符
    // console.log(...["a", "b", "c"]);
    // const arr1 = [1,2,3];
    // const arr2 = [4,5,6];
    // console.log([...arr1, ...arr2, 7]);

    // const obj1 = {
    //   a: 3,
    //   b: 4
    // }
    // const obj2 = {
    //   c: 5,
    //   d: 6
    // }
    // console.log({...obj1, ...obj2, e: 7});
  </script>
</body>
</html>